#pragma once
class IRectangle
{
public:
	IRectangle(void);
	virtual ~IRectangle(void);
	virtual float GetLength() const = 0;
	virtual void SetLength(float newLength) = 0;
	
	static IRectangle* __stdcall CreateRectangle();
	void Destroy(){ delete this;}
};

